package com.cqjtu.tto.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqjtu.tto.dao.pojo.EmployeePerformance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 员工绩效 Mapper 接口
 * </p>
 *
 * @author MrLuo
 * @since 2021-12-14
 */
@Mapper
@Repository
public interface EmployeePerformanceMapper extends BaseMapper<EmployeePerformance> {
    // 查询员工上月绩效
    List<EmployeePerformance> listEmployeePerformanceLastMonth(@Param("lastDate") LocalDate lastDate);
}
